
//
//  daltFilter.h
//  iSeeColor
//
//  Created by narbeh shahnazarian on 12-11-20.
//  Copyright (c) 2012 Wyatt Gosling. All rights reserved.
//

#import "GPUImageFilter.h"

/**
 THIS IS AN ALTERNATE WAY TO USE THE DALTONIZE FILTER WITH NO .fsh REQUIRED
 
 WHAT YOU DO IS:
 
 1.IMPORT IT INTO YOUR CLASS
 
 2.CREATE AN INSTANCE OF daltFilter : daltFilter *filter;
 
 3.ALLOCATE RESOURCES IN THE FOLLOWING WAY:
 filter = [[daltFilter alloc] init];
 
 */

//This class represents a filter to correct Red-Green colorBlindness using the Daltonization algorithm.
@interface daltFilter : GPUImageFilter
{
    //variables to keep track of intensity and type of color blindness respectively.
    GLint intensityUniform;
    GLint typeOfCBUniform;
}

@property(readwrite, nonatomic) CGFloat intensity;
@property(readwrite, nonatomic) int typeOfCB;


@end


